substitution method in limits problems